//Copyrights (c) Microsoft Corporation. All rights reserved.


using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace MDXParameter
{
    public partial class DlgSetup : Form
    {
        public DlgSetup(string TraceServer,string SQLServer,string DBName,string TableName)
        {
            InitializeComponent();
            this.txbTraceServer.Text = TraceServer;
            this.txbSQLServer.Text = SQLServer;
            this.txbDBName.Text = DBName;
            this.txbTableName.Text = TableName;
        }

        private void btnOK_Click(object sender, EventArgs e)
        {
            
            DialogResult = DialogResult.OK;
            this.Close();
            return;
        }

        private void btnCancel_Click(object sender, EventArgs e)
        {
            DialogResult = DialogResult.Cancel;
            this.Close();
            return;
        }
    }
}